let user=require('../../db/consultdb')





module.exports=async(req,resp)=>{
    let data=await user.find({consultID:req.query.id});
    console.log(data);
    resp.render('./admin/editinfo',{sousedata:data[0]})

}